local cjson = require "cjson"
local jwt = require "resty.jwt"

local arg = ngx.req.get_uri_args()
	
local jwt_token = jwt:sign(
		"lua-resty-jwt",
		{
		header={typ="JWT", alg="HS256"},
		payload={name=arg.name}
		}	
)



ngx.say(jwt_token)
